summaryrefslogtreecommitdiff
authorzecke <zecke>2005-02-14 16:08:36 (UTC)
committer zecke <zecke>2005-02-14 16:08:36 (UTC)
commit0e6780c400fbae2ccd8895e40480adb4273906ae (patch) (side-by-side diff)
tree1cc48cfef9c0542272da51071ebda0e27b9e3cfc
parent277adb0af903b8bc2760c20891b664b763b667d9 (diff)
downloadopie-0e6780c400fbae2ccd8895e40480adb4273906ae.zip
opie-0e6780c400fbae2ccd8895e40480adb4273906ae.tar.gz
opie-0e6780c400fbae2ccd8895e40480adb4273906ae.tar.bz2
Set a Caption
File a Bug and propose a better name
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opierdesktop/qtwin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/opierdesktop/qtwin.cpp b/noncore/net/opierdesktop/qtwin.cpp
index e350bf6..181d275 100644
--- a/noncore/net/opierdesktop/qtwin.cpp
+++ b/noncore/net/opierdesktop/qtwin.cpp
@@ -89,16 +89,17 @@ void CleanString(QString* Item)
Item->remove(i, 1);
i--;
}
}
//*****************************************************************************
QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
{
+ setCaption( tr( "Configuration" ) );
int i, j;
char* home;
char Text[256];
QString Line;
QString ItemName;
QString ItemValue;
// resize dialog
@@ -1603,16 +1604,17 @@ void ui_desktop_restore(uint32 offset, int x, int y, int cx, int cy)
int main(int argc, char** argv)
{
CM = NULL;
BS = NULL;
App = new QPEApplication(argc, argv);
SV = new QMyScrollView();
App->setMainWidget(SV);
SV->showMaximized();
+ SV->setCaption( QMyScrollView::tr("Remote Desktop Client (RDP)") );
SV->timer_id = SV->startTimer(1000);
App->exec();
delete SV;
delete App;
if (CM != NULL)
xfree(CM);
if (BS !=NULL)
xfree(BS);