diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-09-25 17:41:04 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-09-27 16:06:54 (GMT) |
commit | ab8f6fdd8c9da74c22cc9f7cf3011c58f9bebd39 (patch) | |
tree | f4f4a60cb3b0fa6fdd6d1cc060ccfac20f61e95f /Source/QtDialog/FirstConfigure.h | |
parent | 7a4d84d8d20ea58cd5cb297b9e5decd58a80b709 (diff) | |
download | CMake-ab8f6fdd8c9da74c22cc9f7cf3011c58f9bebd39.zip CMake-ab8f6fdd8c9da74c22cc9f7cf3011c58f9bebd39.tar.gz CMake-ab8f6fdd8c9da74c22cc9f7cf3011c58f9bebd39.tar.bz2 |
CMake GUI: Modernize signal-slot connections
Qt5 supports passing function pointers to QObject::connect(), and
prefers this over SIGNAL() and SLOT(). Modernize the connections,
stop using a deprecated signal from QComboBox, and modernize a few
QKeySequence's.
Diffstat (limited to 'Source/QtDialog/FirstConfigure.h')
-rw-r--r-- | Source/QtDialog/FirstConfigure.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/FirstConfigure.h b/Source/QtDialog/FirstConfigure.h index 4c757da..ca5f52e 100644 --- a/Source/QtDialog/FirstConfigure.h +++ b/Source/QtDialog/FirstConfigure.h @@ -49,7 +49,7 @@ signals: protected slots: void onSelectionChanged(bool); - void onGeneratorChanged(QString const& name); + void onGeneratorChanged(int index); protected: QComboBox* GeneratorOptions; |