equal
deleted
inserted
replaced
145 //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg(""); |
145 //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg(""); |
146 Tips << tr("Keep your video card drivers up to date to avoid issues playing the game.", "Tips"); |
146 Tips << tr("Keep your video card drivers up to date to avoid issues playing the game.", "Tips"); |
147 //Tips << tr("", "Tips"); |
147 //Tips << tr("", "Tips"); |
148 #ifdef _WIN32 |
148 #ifdef _WIN32 |
149 Tips << tr("You can find your Hedgewars configuration files under \"My Documents\\Hedgewars\". Create backups or take the files with you, but don't edit them by hand.", "Tips"); |
149 Tips << tr("You can find your Hedgewars configuration files under \"My Documents\\Hedgewars\". Create backups or take the files with you, but don't edit them by hand.", "Tips"); |
|
150 Tips << tr("You're able to associate Hedgewars related files (savegames and demo recordings) with the game to launch them right from your favorite file or internet browser.", "Tips"); |
150 #else |
151 #else |
151 Tips << tr("You can find your Hedgewars configuration files under \"Hedgewars\" in your home directory. Create backups or take the files with you, but don't edit them by hand.", "Tips"); |
152 Tips << tr("You can find your Hedgewars configuration files under \"Hedgewars\" in your home directory. Create backups or take the files with you, but don't edit them by hand.", "Tips"); |
152 #endif |
153 #endif |
153 mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]); |
154 mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]); |
154 } |
155 } |
608 #ifdef SPARKLE_ENABLED |
609 #ifdef SPARKLE_ENABLED |
609 CBAutoUpdate = new QCheckBox(groupMisc); |
610 CBAutoUpdate = new QCheckBox(groupMisc); |
610 CBAutoUpdate->setText(QCheckBox::tr("Check for updates at startup")); |
611 CBAutoUpdate->setText(QCheckBox::tr("Check for updates at startup")); |
611 MiscLayout->addWidget(CBAutoUpdate, 4, 0, 1, 2); |
612 MiscLayout->addWidget(CBAutoUpdate, 4, 0, 1, 2); |
612 #endif |
613 #endif |
613 |
614 #ifdef _WIN32 |
|
615 BtnAssociateFiles = new QPushButton(groupMisc); |
|
616 BtnAssociateFiles->setText(QPushButton::tr("Associate file extensions")); |
|
617 BtnAssociateFiles->setEnabled(!custom_data && !custom_config); |
|
618 MiscLayout->addWidget(BtnAssociateFiles, 4, 0, 1, 2); |
|
619 #endif |
614 gbTBLayout->addWidget(groupMisc, 2, 0); |
620 gbTBLayout->addWidget(groupMisc, 2, 0); |
615 } |
621 } |
616 |
622 |
617 { |
623 { |
618 AGGroupBox = new IconedGroupBox(this); |
624 AGGroupBox = new IconedGroupBox(this); |
733 |
739 |
734 BtnBack = addButton(":/res/Exit.png", pageLayout, 2, 0, true); |
740 BtnBack = addButton(":/res/Exit.png", pageLayout, 2, 0, true); |
735 BtnBack->setFixedHeight(BtnSaveOptions->height()); |
741 BtnBack->setFixedHeight(BtnSaveOptions->height()); |
736 BtnBack->setFixedWidth(BtnBack->width()+2); |
742 BtnBack->setFixedWidth(BtnBack->width()+2); |
737 BtnBack->setStyleSheet("QPushButton{margin: 22px 0 9px 2px;}"); |
743 BtnBack->setStyleSheet("QPushButton{margin: 22px 0 9px 2px;}"); |
|
744 |
|
745 // BtnAssociateFiles = addButton(""); |
738 } |
746 } |
739 |
747 |
740 PageNet::PageNet(QWidget* parent) : AbstractPage(parent) |
748 PageNet::PageNet(QWidget* parent) : AbstractPage(parent) |
741 { |
749 { |
742 QFont * font14 = new QFont("MS Shell Dlg", 14); |
750 QFont * font14 = new QFont("MS Shell Dlg", 14); |