Forgot to do code updates
This commit is contained in:
parent
4b3d02240f
commit
66547cb023
2
icon.qrc
2
icon.qrc
@ -1,5 +1,5 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/">
|
<qresource prefix="/">
|
||||||
<file>icons/icon.jpg</file>
|
<file>icons/icon.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
2
main.cpp
2
main.cpp
@ -37,7 +37,7 @@ int main(int argc, char *argv[])
|
|||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
a.setApplicationName("KShare");
|
a.setApplicationName("KShare");
|
||||||
a.setOrganizationName("ArsenArsen");
|
a.setOrganizationName("ArsenArsen");
|
||||||
a.setApplicationVersion("1.0");
|
a.setApplicationVersion("1.1");
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
parser.addHelpOption();
|
parser.addHelpOption();
|
||||||
|
@ -32,7 +32,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
|||||||
{
|
{
|
||||||
instance = this;
|
instance = this;
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setWindowIcon(QIcon(":/icons/icon.jpg"));
|
setWindowIcon(QIcon(":/icons/icon.png"));
|
||||||
tray = new QSystemTrayIcon(windowIcon(), this);
|
tray = new QSystemTrayIcon(windowIcon(), this);
|
||||||
tray->setToolTip("KShare");
|
tray->setToolTip("KShare");
|
||||||
tray->setVisible(true);
|
tray->setVisible(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user